package com.foo.DataProvider;

import java.sql.Date;
import java.sql.Timestamp;

public class ProviderMain
{
	private ProviderInterface provider;

	public void setProvider(ProviderInterface provider)  throws Exception
	{
		System.out.println("In SetProvider method");
		this.provider = provider;
	}

	public void getData(String sorttype, String value, Timestamp timestamp, Date fromdate, Date todate) throws Exception 
	{
		System.out.println("In Provider Main");
		provider.getData(sorttype, value, timestamp, fromdate, todate);
	}

}
